<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
	<head>
		<title>NicoFox Player</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script type="text/javascript" src="swfobject.js"></script>
		<script type="text/javascript">
function load() {
  if ("createEvent" in document) {
    var element = document.createElement("NicoFoxEvent");
    document.documentElement.appendChild(element);

    var evt = document.createEvent("Events");
    evt.initEvent("NicoFoxEvent", true, false);
    element.dispatchEvent(evt);
    var video_file = element.getAttribute('video_file');
    var comment_file = element.getAttribute('comment_file');
    swfobject.embedSWF('breezevideo_player.swf', "player_container", window.innerWidth, window.innerHeight, "9.0.115.0", "expressInstall.swf", {
      videoFile: encodeURI(video_file),
      commentFile: encodeURI(comment_file)
    }, {allowFullScreen: 'true'});
  }
}
function resizeSwf() {
  var player = document.getElementById('player_container');
  player.setAttribute('width', window.innerWidth);
  player.setAttribute('height', window.innerHeight);
}
</script>
</head>
<body style="margin:0; padding: 0; overflow: hidden;" onload="load();" onresize="resizeSwf();">
<div id="player_container">
<h1>Fail to call NicoFox Player</h1>
<p>NicoFox Player requires Flash Player newer than 9.0.115.0.</p>
<p>If you are using NoScript, please add <code>file://</code> to your NoScript blacklist to use NicoFox Player.
</div>
</body>
</html>

